/*********************
 *      INCLUDES
 *********************/
#ifndef __STEP_SERVICE_H__
#define __STEP_SERVICE_H__

#include <rtthread.h>
#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

/*********************
 *      步数服务API
 *********************/
int step_service_init(void);
int step_service_get_data(uint32_t *steps, uint32_t *calories, float *distance);
int step_service_set_goal(uint32_t goal);
int step_service_reset(void);
int step_service_set_active(uint8_t active);
int step_service_get_active_status(uint8_t *active);

#ifdef __cplusplus
}
#endif

#endif /* __STEP_SERVICE_H__ */